import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { DialogModule } from 'primeng/dialog';
import { CalendarModule } from 'primeng/calendar';
import { TableModule } from 'primeng/table';
import { MessageService } from 'primeng/api';
import { TabMenuModule } from 'primeng/tabmenu';
import { DropdownModule } from 'primeng/dropdown';
import { InputTextModule } from 'primeng/inputtext';
import { RadioButtonModule } from 'primeng/radiobutton';
import { CheckboxModule } from 'primeng/checkbox';
import { PanelModule } from 'primeng/panel';
import { ButtonModule } from 'primeng/button';

import { i18nPipeModule, MessageBoxModule, IFileLinkModule, IFileUploadModule } from 'iisp-ng';
import { DataIEService } from "./dataie.service";
import { DataImportComponent } from './import/import.component';
import { DataExportComponent } from './export/export.component';
import { ImportTemplateComponent } from './template/template.component';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

@NgModule( {
    imports: [
        BrowserModule, HttpClientModule, TableModule, TabMenuModule,
        FormsModule, DialogModule, PanelModule, DropdownModule, ButtonModule,
        InputTextModule, RadioButtonModule, CheckboxModule,
        BrowserAnimationsModule, CalendarModule, AppRoutingModule,
        i18nPipeModule, MessageBoxModule, IFileLinkModule, IFileUploadModule
    ],
    declarations: [DataImportComponent, ImportTemplateComponent, DataExportComponent, AppComponent],
    providers: [DataIEService, MessageService],
    bootstrap: [AppComponent]
} )
export class AppModule { }
